翻訳と辞書
Words near each other
・ Modernization of Investigative Techniques Act
・ Modernization of the People's Liberation Army
・ Modernization plans of French universities
・ Modernization theory
・ Modernization under Haile Selassie I
・ Modernize São Vicente Movement
・ Modernized e-File
・ Modernized Load-Carrying Equipment
・ Modernizing Medicine
・ Modernizing Tradition
・ Modernizr
・ ModernPascal
・ Modersmålets sång
・ Moderus Alfa
・ Moderówka
Modes (Unix)
・ Modes of convergence
・ Modes of convergence (annotated index)
・ Modes of leadership
・ Modes of limited transposition
・ Modes of mechanical ventilation
・ Modes of persuasion
・ Modes of toxic action
・ Modes of Transportation Vol. 1
・ Modes of Transportation Vol. 2
・ Modeselektor
・ Modest
・ Modest (bishop of Trier)
・ Modest (email client)
・ Modest Altschuler


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Modes (Unix) : ウィキペディア英語版
Modes (Unix)

Modes are the file system permissions given to "user", "group" and "others" classes to access files.
Modes are shown when listing files in long format, or, if Access Control Lists are in use, using getfacl.
Modes can be changed with chmod (for traditional Unix permissions) or with setfacl (for Access Control Lists).
For traditional Unix permissions, the symbolic mode is composed of three components, which are combined to form a single string of text:
$ chmod ()()() ''file1'' ...
The references (or classes) are used to distinguish the users to whom the permissions apply. If no references are specified it defaults to "all". They are represented by one or more of the following letters:
The chmod program uses an operator to specify how the modes of a file should be adjusted. The following operators are accepted:
The modes indicate which permissions are to be granted or taken away from the specified classes. There are three basic modes which correspond to the basic permissions:
The combination of these three components produces a string that is understood by the chmod command. Multiple changes can be specified by separating multiple symbolic modes with commas.
==String mode examples==
For example, the following command would be used to add the read and write permissions to the user and group classes of a file or directory named sample:

$ chmod ug+rw sample
$ ls -ld sample
drw-rw---- 2 unixguy unixguy 96 Dec 8 12:53 sample

This command removes all permissions, allowing no one to read, write, or execute the file named sample.

$ chmod a-rwx sample
$ ls -l sample
---------- 2 unixguy unixguy 96 Dec 8 12:53 sample

The following command changes the permissions for the user and the group to read and execute only (no write permission) on sample.

$ # Sample file permissions before command
$ ls -ld sample
drw-rw---- 2 unixguy unixguy 96 Dec 8 12:53 sample
$ chmod ug=rx sample
$ ls -ld sample
dr-xr-x--- 2 unixguy unixguy 96 Dec 8 12:53 sample


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Modes (Unix)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.